package com.wiken.storeservice.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wiken.storeservice.VO.StoreActivityVO;
import com.wiken.storeservice.entity.StoreActivity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wiken
 * @since 2022-12-28
 */
public interface StoreActivityMapper extends BaseMapper<StoreActivity> {

    Integer discountStoreNumberById(String id);

    Page<StoreActivityVO> getStoreActivityByUserId(Page page, String userId);

    List<StoreActivityVO> getStoreActivityByIds(List<String> ids);
}
